package com.pqc.tbk.utils;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class Pager<T> implements Serializable {
	private List<T> content; // 分页的内容
	private long offSet; // 起始记录号
	private long pageSize;// 每页的条数
	private long total;// 总记录数
	private long pages;// 总页数
	private long num;// 当前页号

	public List<T> getContent() {
		return this.content;
	}

	public void setContent(final List<T> content) {
		this.content = content;
	}

	public long getOffSet() {
		return this.offSet;
	}

	public void setOffSet(final long offSet) {
		this.offSet = offSet;
	}

	public long getPageSize() {
		return this.pageSize;
	}

	public void setPageSize(final long pageSize) {
		this.pageSize = pageSize;
	}

	public long getTotal() {
		return this.total;
	}

	public void setTotal(final long total) {
		this.total = total;
	}

	public long getPages() {
		return this.pages;
	}

	public void setPages(final long pages) {
		this.pages = pages;
	}

	public long getNum() {
		return this.num;
	}

	public void setNum(final long num) {
		this.num = num;
	}
}
